package by.imotaeva.printing_services.services;

import javax.transaction.Transactional;

import by.imotaeva.printing_services.datamodel.Customer;
import by.imotaeva.printing_services.datamodel.CustomerIdentification;

public interface CustomerIdentificationService {

	CustomerIdentification get(Long id);

	@Transactional
	void createNewCustomerIdent(Customer customer,
			CustomerIdentification customerIdentification);

	@Transactional
	void updateCustomerIdentification(
			CustomerIdentification customerIdentification);

	@Transactional
	void delete(CustomerIdentification entity);

	@Transactional
	void deleteAll();

}
